package chenji.moreitemfunapi.textures;

import java.util.Set;

import com.google.common.collect.Sets;

import chenji.moreitemfunapi.textures.info.TextureInfo;

public class SpawnResult {
	private TextureInfo info;
	private Set<String> missing = Sets.newHashSet();
	private Set<String> connotread = Sets.newHashSet();
	private Set<String> missingandconnotdef = Sets.newHashSet();

	public SpawnResult(TextureInfo info) {
		this.info = info;
	}

	public TextureInfo getInfo() {
		return info;
	}

	public void add(String name, int type) {
		switch (type) {
		case 1:
			this.missing.add(name);
			return;
		case 2:
			this.connotread.add(name);
			return;
		case 3:
			this.missingandconnotdef.add(name);
			return;
		}
	}
}
